package com.paziy.card_games.cards;

/**
 * Created with IntelliJ IDEA.
 * User: paziy
 * Date: 05.02.13
 * Time: 17:15
 * To change this template use File | Settings | File Templates.
 */
public enum Suit {

    //обратная сторона карты
    SIDE('\u25AF'),
    //чирва
    HEART('\u2665'),
    //пика
    SPADE('\u2660'),
    //бубна
    DIAMOND('\u2666'),
    //крест
    CLUB('\u2663');

    Suit(char full) {
        this.symbol = full;
    }

    private char symbol;

    public char getSymbol() {
        return symbol;
    }

    public static void main(String[] args) {

        for (Suit s : Suit.values())
            System.out.println(s + " " + s.getSymbol());
    }

}
